package com.hunau.novel_reading.service;

import com.hunau.novel_reading.entity.Books;
import com.hunau.novel_reading.request.HistoryInsertReq;
import com.hunau.novel_reading.request.HistorySeekReq;

import java.util.List;

public interface HistoryService {
    public List<Books> selectBooksByUsername(HistorySeekReq historySeekReq);
    public Integer insertHistoryRecordByUserAndBookName(HistoryInsertReq historyInsertReq);
    public List<Books> selectBooksByUserId(Integer userId);
}
